package com.shycloud.mido.organ.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 *  机构购买套餐订单详情LOG
 *
 * @author yyy
 */
@Data
@TableName("org_org_order_detailed_log")
@EqualsAndHashCode(callSuper = true)
public class OrgOrderDetailedLogEntity extends Model<OrgOrderDetailedLogEntity> {
	private static final long serialVersionUID = 1L;
	
	/**
	 * 主键
	 */
	@TableId(value = "id", type = IdType.UUID)
	private String id;
	/**
	 * 订单ID
	 */
	private String orderId;
	/**
	 * 机构ID
	 */
	private String orgId;
	/**
	 * 类型\r\n1:1对1单驱;\r\n2:1对1双驱;\r\n3:1对多双驱;\r\n91:硬件条;\r\n92:纠错大师;\r\n93:VIP;\r\n94:高级VIP;\r\n95:作业;
	 */
	private String type;
	/**
	 * 时长
	 */
	private Integer duration;
	/**
	 * 数量
	 */
	private Integer amount;
	/**
	 * 价格
	 */
	private BigDecimal price;


}
